package cn.tedu.goods.management.dao.persist.mapper;


import cn.tedu.goods.management.pojo.eneity.Goods;
import cn.tedu.goods.management.pojo.vo.GoodsListForUserVO;
import cn.tedu.goods.management.pojo.vo.GoodsListItemVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GoodsMapper extends BaseMapper<Goods> {
    List<GoodsListItemVO> selectGoodsList();

    List<GoodsListForUserVO> selectGoodsListForUser();

    int avatar(Goods goods);
}
